package com.lwlk.zdk.service.PostService;

import com.lwlk.zdk.model.pw.pwCheckTheDutyIssue;
import com.lwlk.zdk.model.pw.pwCheckTheDutyMessage;
import com.lwlk.zdk.model.pw.pwMessage;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface PostMessageService {

    int add(pwCheckTheDutyIssue pwCheckTheDutyIssue);


    int deleteBatch(Integer integer);

    int update(pwCheckTheDutyIssue pwCheckTheDutyIssue);

    pwCheckTheDutyIssue details(Integer id);

    List<pwCheckTheDutyIssue> query(String topic, String creator);

    List<pwMessage> selectDim(Integer platformId,  Date startTime, Integer isReply, Date endTime);

    pwCheckTheDutyIssue selectOne(String topicType);

    int insertCheck(pwCheckTheDutyMessage pwCheckTheDutyMessage);


    int updateContent(Date updateTime, Integer msgId, String content);

    int insertMessage(pwMessage pwMessage1);

    String selectPlatformId(int i);

    int updateMessage(int i, String messageObjectTypeId);

    int updateResult(Date responseTime, Integer msgId, String content,Integer count);

    int updateEnterpriseId(String roleType,String eId, int i);

    List<Map<String, Object>> selectSubordinate(String startTime, String endTime,Integer uId,String messageObjectType,Integer platformIds);

    int updateObjectType(Integer msgId, String objectId);

    List<Map> selectMessageDetails(Integer messageId);

    Integer selectResponseSum(Integer msgId);

    List<Map<String, Object>> selectPlatformRecord(Integer uId, Integer platformId, String checkTime);
}
